package net.jiastudy.web;

import java.io.Serializable;

public class JsonResponseWrapper<T> implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3496315374001572969L;
	
	private T body;
	private String status = "200";
	private String message = "";

	public JsonResponseWrapper() {

	}

	public JsonResponseWrapper(T body) {
		this.body = body;
	}

	public String getStatus() {
		return status;
	}

	public T getBody() {
		return body;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setBody(T body) {
		this.body = body;
	}
}
